home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / comms / non-internet / samba / amiga installation notes next >
Text File  |  1996-07-01  |  4KB  |  75 lines

  1.                           Amiga Installation notes
  2.                           ========================
  3.  
  4. This is just a quick list of notes that will be useful for someone trying
  5. to install Samba on an Amiga. However, this is not all there is to be said
  6. about installing Samba, and the person performing the installation *will*
  7. be required to use his/her brain to at several points during installation.
  8.  
  9. If someone wants to write an installer script or better installation notes,
  10. feel free to do so. I'll happily include it the next port (if any).
  11.  
  12. 1. The deamons (nmbd and smbd) won't run in stand-alone mode, they need to
  13.    be run from inetd. This should't give any problems, though.
  14.  
  15. 2. The default path names in the Makefile were chosen with users of AmiTCP
  16.    and the other Samba port in mind. If you create a directory named
  17.    "samba", put all of the files in that directory and have "AmiTCP:"
  18.    assigned to the parent of that directory, installation will be much
  19.    easier. AmiTCP users will probably want to put all the Samba files in
  20.    "AmiTCP:samba" for this reason. However, the default location of the
  21.    Samba files can be overridden using command line arguments (except for
  22.    the "smbrun" executable, but see "docs/smb.conf.0" for a possible
  23.    setting to change that).
  24.  
  25. 3. A very simple configuration file is provided ("lib/smb.conf"). All it
  26.    does it to give other people access to your system boot volume. This
  27.    will work, but is only intended as an example. See "docs/smb.conf.0"
  28.    for the configuration file documentation.
  29.  
  30. 4. Append the file "inetd.conf.addon" to your "AmiTCP:db/inetd.conf" or
  31.    "INET:db/inetd.conf" and edit it to suit your system.
  32.  
  33. 5. Append the file "services.addon" to your "AmiTCP:db/services" or
  34.    "INET:db/services" but DON'T edit it.
  35.  
  36. 6. Create a user account to use as a guest user. You can do this by
  37.    appending "passwd.addon" to your "AmiTCP:db/passwd" or "INET:db/passwd"
  38.    and appending "group.addon" to your "AmiTCP:db/group" or
  39.    "INET:db/group". This will create a user named "pcguest" who will be
  40.    a member of the gruop "guest". You will probably have to adjust the
  41.    user ID and group ID to suit your existing setup.
  42.    If you have any experience in doing this, don't use the "passwd.addon"
  43.    and "group.addon" files, but create the "pcguest" account from scratch.
  44.  
  45. 7. Assign "ETC:" to "AmiTCP:db" or "INET:db". Assign "TMP:" to a place that
  46.    you want temporary files to be placed in.
  47.    Please be aware that if you forget to assign "TMP:", no requesters will
  48.    pop up, but Samba won't work correctly, and you won't notice!
  49.    I suggest adding the "Assign" commands to either "S:User-Startup" or
  50.    your "AmiTCP:bin/startnet" script.
  51.  
  52. 8. To prevent "smbstatus" from asking for volume "proc:", assign "PROC:"
  53.    to "NIL:" using the "PATH" option ("Assign PROC: NIL: PATH").
  54.  
  55. 9. Install ixemul.library 43.1 (or later) in LIBS: together with
  56.    ixnet.library 1.0 or later (currently comes in the ixemul archive).
  57.    You may also want to run "IXPrefs" to set up ixemul.library prefs.
  58.  
  59. 10. If "inetd" isn't running, start it now. Otherwise, tell it to reread
  60.     it's configuration file if it doesn't do so automatically when it is
  61.     changes. If that is not possible, stop it and restart it. See the
  62.     "inetd" for details on how to do this. If none of this works, reboot.
  63.  
  64. 11. The "nmbd" deamon should be started by "inetd" automatically the first
  65.     time it is needed. If you don't think this is happening (you can check
  66.     if it is running with the "Status" command), try forcing it to do so
  67.     using the "nmblookup" command, giving any host name as an argument to
  68.     "nmblookup". If this still doesn't cause "nmbd" to start, try using a
  69.     tool like SnoopDOS to see what causes it. You will probably want to
  70.     enable the "Packet Monitor" option of SnoopDOS.
  71.  
  72. 12. "nmbd" will cause frequent access to the file
  73.     "AmiTCP:samba/var/locks/browse.dat" (assuming you haven't specified
  74.     another location for this file). This is normal and is a good sign.
  75.